package com.xbx.admin.entity.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 地区业务层对象
 *
 * @author 89005691
 * @create 2018-08-30 20:09
 */
@Data
public class Area {

    @ApiModelProperty(value = "ID", example = "1")
    private Integer id;

    @ApiModelProperty(value = "顶级大区", example = "1")
    private String topArea;

    @ApiModelProperty(value = "大区", example = "1")
    private String regionArea;

    @ApiModelProperty(value = "地区", example = "1")
    private String subArea;

    @ApiModelProperty(value = "角色备注", example = "1")
    private String remark;

    @ApiModelProperty(value = "创建时间", example = "2018-8-31 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "是否选中", example = "true和false")
    private Boolean checked;

    @ApiModelProperty(value = "所属模块code", example = "test")
    private String belongModuleCode;

    @ApiModelProperty(value = "所属模块", example = "test")
    private String belongModuleName;
}
